package com.kanq.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kanq.documentLoader.result.Section;
import com.kanq.pojo.entity.KanqAiFileChunk;

import java.util.List;

public interface KanqAiFileChunkService extends IService<KanqAiFileChunk> {
    KanqAiFileChunk saveChunkAndKeywords(long fileId, String s, List<String> strings);

    List<KanqAiFileChunk> fullTextSearch(List<String> keywords);

    boolean saveFileChunk(long fileId, String originalFilename, List<Section> sections);

    List<KanqAiFileChunk> getSegDataPage(long fileId);
}
